/* =============================================================
 * System Name：Document Control System
 * File Name： OAuthUser.java
 * --------------------------------------------------------------
 * (C) Copyright M+W Group 2012 All Rights Reserved.
 *
 *  VERSION    DATE        BY                CHANGE/COMMENT
 * ----------------------------------------------------------------
 *
 */
package com.deco.authorization.user;

/**
 * Stands for a oAuth user. Contains userId, name. &lt;pre&gt; &lt;/pre&gt;
 * 
 * @author $Author: Kevin Zhu <kevin.zhu@mwgroup.net>$
 * @version $Revision: 1.07$
 */
public class OAuthUser implements java.io.Serializable {
	private final String id;
	private final String name;
	private final String screenName;
	private final String provider;

	public OAuthUser(String id, String name, String screenName, String provider) {
		super();
		this.id = id;
		this.name = name;
		this.screenName = screenName;
		this.provider = provider;
	}

	public String getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public String getScreenName() {
		return screenName;
	}

	public String getProvider() {
		return provider;
	}

}
